using UnityEngine;
using System.Collections;

public class Button : MonoBehaviour
{
	public string minSplitRatio = "30";
	public string minRoomSize = "70";
	public string maxRoomSize = "90";
	public string numberOfSplits = "1";
	public string dungeonSize = "12";
	
	// Use this for initialization
	void Start ()
	{
	
	}
	
	// Update is called once per frame
	void Update ()
	{
	
	}
	
	void OnGUI()
	{
		GUI.Button(new Rect(0,0,130,20), "Split");
		GUI.Button(new Rect(0,20,130,20), "Generate Rooms");
		GUI.Button(new Rect(0,40,130,20), "Generate Corridors");
		GUI.Button(new Rect(0,60,130,20), "Generate All");
		GUI.Button(new Rect(0,80,130,20), "Reset");
		GUI.Box(new Rect(0,100,130,20), "Minimum Split Ratio");
		GUI.Box(new Rect(0,120,130,20), "Minimum Room Size");
		GUI.Box(new Rect(0,140,130,20), "Max Room Size");
		GUI.Box(new Rect(0,160,130,20), "Number of Splits");
		GUI.Box(new Rect(0,180,130,20), "Dungeon Size");
		minSplitRatio = GUI.TextField(new Rect(130,100,125,20), minSplitRatio);
		minRoomSize = GUI.TextField(new Rect(130,120,125,20), minRoomSize);
		maxRoomSize = GUI.TextField(new Rect(130,140,125,20), maxRoomSize);
		numberOfSplits = GUI.TextField(new Rect(130,160,125,20), numberOfSplits);
		dungeonSize = GUI.TextField(new Rect(130,180,125,20), dungeonSize);
	}
}
